﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Wormhole.Engine.Communication
{
	/// <author>Hannes Foulds</author>
	/// <date>01 September 2008</date>
	/// <summary>
	/// This class is used to represent listed games.
	/// </summary>
	public class Game
	{
		#region Properties
		/// <summary>
		/// The game ID.
		/// </summary>
		public Guid ID { get; set; }

		/// <summary>
		/// The name of the player hosting the game.
		/// </summary>
		public string PlayerName { get; set; }

		/// <summary>
		/// The name of the player who has joined the game.
		/// </summary>
		public string OpponentName { get; set; }

		/// <summary>
		/// The deck of cards of the opponent.
		/// </summary>
		public Deck OpponentDeck { get; set; }

		/// <summary>
		/// The description of the game.
		/// </summary>
		public string Description { get; set; }

		/// <summary>
		/// This value indicates wheter or not the game has been started.
		/// </summary>
		public bool Started { get; set; }
		#endregion
	}
}
